package com.feiyu.other;

import java.time.Clock;
import java.time.Instant;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author nanshouxiao@teacher.com.cn
 * @date 2017-11-02 17:38
 */
public class TimeTest {
    public static void main(String[] args) {
//        testDate();
        Long time1 = 1509673566494L;
        Long time2 = time1/1000;
        System.out.println(Clock.systemUTC().millis());
    }

    private static void testDate() {
        LocalDate localDate = LocalDate.now();
        System.out.println(localDate);
    }
}
